using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ConversationDb
{
   // public List<string> dialogueDb;
    public static Dictionary<int, string[]> dialogs = new();
    public static Dictionary<int, string[]> Patiendialogs = new();
    

    public static void InitData()
    {
        dialogs.Clear();
        
        AddDialog(DialogType.NextEvent, "进入下一个路口");
        AddDialog(DialogType.PatientEvent, "你遇到了一个病人", "开始医治");
        AddDialog(DialogType.Merchant, "前方碰到一名商人");
        
        
        
        AddPatientDialog(MydisDatas.DiseasEnum.SangHang, "咳咳咳，我头疼头热","有时喘不过气，夜里也会很难受");
        AddPatientDialog(MydisDatas.DiseasEnum.FeiReHouTeng, "咳咳咳，我咳嗽，鼻子堵","喉咙痛，有时候吞食困难");
        AddPatientDialog(MydisDatas.DiseasEnum.BingDuXing, "咳咳咳，我头痛","经常感觉到恶心、有时候还想呕吐");
    }

    private static void AddDialog(DialogType id, params string[] texts)
    {
        dialogs.Add((int)id, texts);
    }
    
    
    private static void AddPatientDialog(MydisDatas.DiseasEnum id, params string[] texts)
    {
      
        Patiendialogs.Add((int)id, texts);
        
    }


}
